package workflow.step;

import loadgen.DiskStresser;
import model.Software;

/**
 * Releases the software with version 1.0.
 * 
 * @author Mark Czotter
 * @author Miklos Szennai
 * 
 */
public class ReleaseStep {

	public Software doStep(Software software) {
		software.setVersion("1.0");
		
		/* Generate disk load */
		new DiskStresser().generateLoad(3000);
		//Instrumentation
		software.setEndTime(System.currentTimeMillis());
		/**/
		
		return software;
	}
	
}
